package com.lifeservice.console.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lifeservice.common.annotation.Excel;
import com.lifeservice.common.core.domain.BaseEntity;

/**
 * 广告配置对象 life_banner
 * 
 * @author lifeservice
 * @date 2023-03-03
 */
public class LifeBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告id */
    private String id;

    /** 广告图片 */
    @Excel(name = "广告图片")
    private String bannerPic;

    /** 广告标题 */
    @Excel(name = "广告标题")
    private String bannerTitle;

    /** 广告正文 */
    @Excel(name = "广告正文")
    private String bannerText;

    /** 广告类型1首页顶部广告 */
    @Excel(name = "广告类型1首页顶部广告")
    private Integer bannerType;

    /** 图片跳转链接 */
    @Excel(name = "图片跳转链接")
    private String clickUrl;

    /** 广告tag */
    @Excel(name = "广告tag")
    private String tag;

    /** 广告优先级 */
    @Excel(name = "广告优先级")
    private Integer priority;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBannerPic(String bannerPic) 
    {
        this.bannerPic = bannerPic;
    }

    public String getBannerPic() 
    {
        return bannerPic;
    }
    public void setBannerTitle(String bannerTitle) 
    {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerTitle() 
    {
        return bannerTitle;
    }
    public void setBannerText(String bannerText) 
    {
        this.bannerText = bannerText;
    }

    public String getBannerText() 
    {
        return bannerText;
    }
    public void setBannerType(Integer bannerType) 
    {
        this.bannerType = bannerType;
    }

    public Integer getBannerType() 
    {
        return bannerType;
    }
    public void setClickUrl(String clickUrl) 
    {
        this.clickUrl = clickUrl;
    }

    public String getClickUrl() 
    {
        return clickUrl;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setPriority(Integer priority) 
    {
        this.priority = priority;
    }

    public Integer getPriority() 
    {
        return priority;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerPic", getBannerPic())
            .append("bannerTitle", getBannerTitle())
            .append("bannerText", getBannerText())
            .append("bannerType", getBannerType())
            .append("clickUrl", getClickUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("tag", getTag())
            .append("priority", getPriority())
            .toString();
    }
}
